package com.kuangstudy.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author renyitong
 * @version 1.0.0
 * @createTime 2023年09月14日
 * @Description
 */
@Data
@TableName("product")
@ToString
public class Product implements java.io.Serializable{

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    private Double price;

    private String description;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
